﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using ExamSystem.DAL;
using ExamSystem.Mdeol;
namespace ExamSystem.BLL
{
    public class TanswerBLL
    {
        private TanswerDAL td = new TanswerDAL();
        //根据试卷id和学生id查询所有试题信息
        public List<Tanswer> querybypageridandstuid(int tpid, int tsid)
        {
            return td.querybypageridandstuid(tpid,tsid);
        }




        //修改答案
        public bool updatastuanswer(int tpid, int tqid, int tsid, string taanswer)
        {
            return td.updatastuanswer(tpid,tqid,tsid,taanswer);
        }
    }
}